package com.zhitong.money.services.api;


import com.github.pagehelper.PageInfo;
import com.zhitong.money.entity.Menu;

import java.util.List;
import java.util.Map;

public interface IMenuService {

    public List<Menu> findAllMenu() throws Exception;

    public Menu findMenuById(String id) throws Exception;

    public PageInfo findMenuByPage(Map<String,Object> map) throws Exception;

    public List<Menu> findMenuByMap(Map<String,Object> map) throws Exception;

    public void addMenu(Menu menu) throws Exception;

    public void updateMenu(Menu menu) throws Exception;

    public int delMenu(String id) throws Exception;

    public int delMenuByIds(List<String> ids) throws Exception;

}
